Skip to content

feat: add ory provider #417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

Jorgagu
Copy link

@Jorgagu Jorgagu commented Jun 9, 2025

This pull request introduces support for Ory OAuth integration, adding it as a new provider to the system. The changes include configuration updates, UI modifications, and the implementation of the Ory OAuth2 authorization code flow.

Ory OAuth Integration

  • New Ory OAuth provider implementation: Added a new file src/runtime/server/lib/oauth/ory.ts that implements the Ory OAuth2 authorization code flow, including handling tokens, user information, and error cases.
  • Configuration for Ory OAuth: Updated src/module.ts to include runtime configuration for Ory OAuth, such as clientId, clientSecret, sdkURL, and related URLs.
  • Ory provider type: Added ory to the list of supported OAuth providers in src/runtime/types/oauth-config.ts.

UI and Environment Updates

  • UI update for Ory: Modified playground/app.vue to include Ory as an option in the providers list, with a custom icon and label.
  • Environment variables for Ory: Added placeholders for Ory-related environment variables in playground/.env.example.
  • Custom icons support: Updated playground/nuxt.config.ts to enable custom icon collections, including Ory's icon.

Documentation

  • Updated README: Added Ory to the list of supported providers in the README.md file.

Additional Features

  • Ory OAuth route: Created a new route playground/server/routes/auth/ory.ts to handle Ory OAuth authentication events.

@Jorgagu Jorgagu force-pushed the feat/add-ory-provider branch from 6e20d1a to 6ad117b Compare July 5, 2025 19:54
@Jorgagu Jorgagu force-pushed the feat/add-ory-provider branch from 6ad117b to 69588e8 Compare July 5, 2025 21:55
@Jorgagu Jorgagu marked this pull request as ready for review July 5, 2025 23:03
@Jorgagu
Copy link
Author

Jorgagu commented Jul 8, 2025

@atinux could you please review ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant